/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cflp;

/**
 *
 * @author gbula
 */
public class Pruebas {
    public static void main(String[] args){
        String nombre="problemas/N50L2U2K75F17.txt";
          Network n=new Network(nombre);
         Individuo ind=new Individuo(n);
         int[] sol={0,	1,	0,	1,	1,	1,	0,	0,	0,	0,	0,	0,	1,	1,	0,	1,	1,	1,	1,	1,	1,	0,	0,	0,	0,	0,	0,	0,	1,	0,	1,	1,	0,	0,	1,	0,	0,	0,	1,	0,	0,	0,	0,	0,	0,	1,	0,	1,	1,	0};
         int[][] cant=ind.servedNodes(sol);
         for(int i=0;i<cant.length;++i){
             for(int j=0;j<cant[i].length;++j){
                 System.out.print(cant[i][j]+"\t");
             }
             System.out.println("");
         }
         System.out.println(ind.totalCost(sol));
      
       
}
}